package com.tiniplanet.webgate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tiniplanet.webgate.dao.GenericDao;
import com.tiniplanet.webgate.dao.NewsDao;
import com.tiniplanet.webgate.entity.News;
import com.tiniplanet.webgate.service.NewsService;

@Service("newsService")
public class NewsServiceImpl extends GenericServiceImpl<News, Long> implements NewsService {

	@Autowired
	NewsDao newsDao;
	
	@Override
	protected GenericDao<News, Long> getBaseDao() {
		return newsDao;
	}

}
